描述
markdown-it 测试
选项卡测试
bash
modprobe -r silead
modprobe silead
bash
modprobe -r gslx680_ts_acpi
modprobe gslx680_ts_acpi
代码块测试
test
test2
js
export default {
data() {
return {
msg: "Error",
msg: "Warning",
};
},
};
js
export default {
data () {
return {
msg: 'Removed'
msg: 'Added'
}
}
}
js
export default {
data() {
return {
msg: "Focused!",
};
},
};
js
export default {
data() {
return {
msg: "Highlighted!",
};
},
};
ts
// line-numbers is disabled by default
const line2 = "This is line 2";
const line3 = "This is line 3";
ts
// line-numbers is enabled
const line2 = 'This is line 2'
const line3 = 'This is line 3'
ts
// line-numbers is enabled and start from 2
const line3 = 'This is line 3'
const line4 = 'This is line 4'
js
export default { // Highlighted
data () {
return {
msg: `Highlighted!
This line isn't highlighted,
but this and the next 2 are.`,
motd: 'VitePress is awesome',
lorem: 'ipsum'
}
}
}
提示测试
INFO
This is an info box.
TIP
This is a tip.
WARNING
This is a warning.
DANGER
This is a dangerous warning.
Details
This is a details block.
数学公式
When
Maxwell's equations:
equation | description |
---|---|
divergence of | |
curl of | |
wha? |
列表样式
- 1
- 2
- 3
- 1
- 2
- 3
2.9 分割线
可以在一行中用三个以上的减号来建立一个分隔线,同时需要在分隔线的上面空一行。如下:
脚注 1 链接[1]。
脚注 2 链接[2]。
行内的脚注[3] 定义。
重复的页脚定义[2:1]。